<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="/view/main/stylesheet.jsp"%>
<link rel="stylesheet" type="text/css" href="${baseurl}/styles/frameword/css/list.css" />
<script src="${baseurl}/styles/frameword/js/list.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	$(function() {
		var url = "/pro-driver-user/";
		var columns = [ 
		{
			field : 'mobile',
			title : '手机号'
		},
		{
			field : 'userName',
			title : '用户名'
		},
		{
			field : 'addTime',
			title : '注册日期',
			formatter : function(value, row, index) {
				return format(new Date(value),'yyyy-MM-dd hh:mm:ss');
			}
		},
		{
			field : 'loginTime',
			title : '最后登录',
			formatter : function(value, row, index) {
				return format(new Date(value),'yyyy-MM-dd hh:mm:ss');
			}
		},
		{
			field : 'belongCity',
			title : '归属城市'
		},
		{
			field : 'vehicleModel',
			title : '车型'
		},
		{
			field : 'vehicleNumber',
			title : '车牌号'
		},
		{
			field : 'todayIncome',
			title : '今日收入',
			formatter : function(value, row, index) {
				return (value/100).toFixed(2);
			}
		},
		{
			field : 'balance',
			title : '余额',
			formatter : function(value, row, index) {
				return (value/100).toFixed(2);
			}
		},
		{
			field : 'withdrawal',
			title : '总收入',
			formatter : function(value, row, index) {
				return (value/100).toFixed(2);
			}
		}];
		initListDefault(url, columns)
	})
</script>
</head>
<body class="container-fluid">
	<form class="bs-example bs-example-form" role="form" id="form1">
		<table class="table noline">
			<tbody>
				<tr>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">手机号</span>
							<input type="text" name="mobile" class="form-control">
						</div>
					</td>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">用户名</span>
							<input type="text" name="userName" class="form-control">
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="text-align: right;">
						<div class="btn-group">
							<button type="button" class="btn btn-info" id="search-button">
								<i class="glyphicon glyphicon-search"></i>
								搜索
							</button>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	<table id="table1">
	</table>
</body>

</html>